cmake_minimum_required(VERSION 3.16)

project(c_udp_client LANGUAGES C)

add_executable(c_udp_client main.c)

target_link_libraries(c_udp_client wsock32)


include(GNUInstallDirs)
install(TARGETS c_udp_client
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
